package com.chengyu.core.service.shop;

import com.chengyu.core.domain.form.UmsShopOwnLevelForm;
import com.chengyu.core.exception.ServiceException;
import com.chengyu.core.model.*;

import java.util.List;
import java.util.Map;

/**
 * @title  店铺接口
 * @author LeGreen
 * @date   2022/4/28
 */
public interface ShopLevelService {


	Map getShopLevelPriceById(Integer levelPriceId) throws ServiceException;

	List<UmsShopLevel> listShopLevel(Boolean isShowInitLevel,Boolean isShowNoPrice,Integer isShow,String type) throws ServiceException;

	List<UmsShopLevelPrice> getShopLevelPriceByLevelId(Integer levelId,Integer isShow) throws ServiceException;

	void updateShopLevel(UmsShopLevel umsShopLevel) throws ServiceException;

	void updateShopLevelPrice(UmsShopLevelPrice umsShopLevelPrice) throws ServiceException;

	void addShopLevel(UmsShopLevel umsShopLevel) throws ServiceException;

	void addShopLevelPrice(UmsShopLevelPrice umsShopLevelPrice) throws ServiceException;

	void deleteShopLevel(Integer id);

	void deleteShopLevelPrice(Integer id);

	List<UmsShopOwnLevelForm> getShopOwnLevelPriceById(Integer shopId) throws ServiceException;

	void updateOwnLevel(UmsShopOwnLevel umsShopOwnLevel) throws ServiceException;

	void addShopLevelOrder(OmsOrderShopLevel omsOrderShopLevel) throws ServiceException;

	OmsOrderShopLevel getByOrderNum(String orderNo) throws ServiceException;

	void addShopOwnLevel(UmsShopOwnLevel umsShopOwnLevel) throws ServiceException;

	void checkShopLevel(Integer shopId) throws ServiceException;

	List<UmsShopOwnLevelForm> getShopOwnLevelList() throws ServiceException;

	void deductions(Integer type,Integer id,String editName) throws ServiceException;

	List<UmsDeductionsDesignLog> deductionsList() throws ServiceException;
}